/*
 * GUIEvent.h
 *
 *  Created on: Jul 15, 2010
 *      Author: Ry
 */

#ifndef GUIEVENT_H_
#define GUIEVENT_H_

class GUIEvent {
public:
	enum Type {
		MOUSEMOTION, MOUSEBUTTONDOWN, MOUSEBUTTONUP, MOUSEENTER, MOUSEEXIT
	};

	struct MouseMotion{
		unsigned int x;
		unsigned int y;
		int relx;
		int rely;
	};

	Type type;
	MouseMotion motion;

	GUIEvent(){};
	virtual ~GUIEvent(){};
};

#endif /* GUIEVENT_H_ */
